package com.myfoon.model.cacheable;

import com.myfoon.model.entity.User;

import com.tangosol.io.ExternalizableLite;

import java.io.DataInput;
import java.io.DataOutput;

public class LocationCache implements ExternalizableLite {
    private Long id;
    private Long ownerId;
    private String name;
    private Float latitude;
    private Float longitude;
    private String streetaddress;
    private String region;
    private String city;
    private String country; 
    
    public LocationCache() {
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setOwnerId(Long ownerId) {
        this.ownerId = ownerId;
    }

    public Long getOwnerId() {
        return ownerId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setLatitude(Float latitude) {
        this.latitude = latitude;
    }

    public Float getLatitude() {
        return latitude;
    }

    public void setLongitude(Float longitude) {
        this.longitude = longitude;
    }

    public Float getLongitude() {
        return longitude;
    }

    public void setStreetaddress(String streetaddress) {
        this.streetaddress = streetaddress;
    }

    public String getStreetaddress() {
        return streetaddress;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getRegion() {
        return region;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCity() {
        return city;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getCountry() {
        return country;
    }

    public void readExternal(DataInput dataInput) {
    }

    public void writeExternal(DataOutput dataOutput) {
    }
}
